package com.ehome.poct.base.api.dto.banner;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @description:增加曝光数
 * @author: muqiu
 * @time: 2022/3/24 18:08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("曝光次数")
public class BannerExposureDTO {
    @ApiModelProperty(value = "主键", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;

    @NotNull(message = "曝光次数不能为空")
    @ApiModelProperty(value = "曝光次数", required = true)
    private Long exposureTimes;
}
